package com.lmc.log.job;

import org.apache.flink.streaming.api.datastream.DataStreamSource;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

public class TrafficJob {
    public static void main(String[] args) throws Exception {
        StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();

        DataStreamSource<String> stream = env.fromElements(
                "A001,B,1717001800000",
                "A001,A,1717000000000",
                "B002,A,1717007200000",
                "B002,B,1717003600000",
                "C003,C,1717014400000",
                "C003,A,1717010800000",
                "D004,A,1717018000000"
        );


        env.execute("TrafficJob");
    }
}
